<div class="swiper-container">
    <div class="swiper-wrapper" th:if="${tagNav!=null and tagNav.size()>0 and navigation=='product' }">
        <div class="swiper-slide" th:each="tag:${tagNav}">
            <a th:class="${tag.curTag}? selected : unselected" th:href="@{${'/'+navigation+'/list/filter?tagIds='+tag.id}}"  ><strong th:text="${tag.name}"></strong></a>
        </div>
    </div>

     <div class="swiper-wrapper" th:if="${tagNav!=null and tagNav.size()>0 and navigation=='news' }">
       <div class="swiper-slide" th:each="tag:${tagNav}">
            <a th:class="${tag.curTag}? selected : unselected" th:href="@{${'/'+navigation+'/list/filter?tagIds='+tag.name}}"  ><strong th:text="${tag.name}"></strong></a>
        </div>
    </div>

    <div class="swiper-button-next"></div>
    <div class="swiper-button-prev"></div>
</div>
